class Solution:
    def singleNumbers(self, nums: List[int]) -> List[int]:

"""
s = set()
for i in nums:
    if i in s:
        s.remove(i)
    else:
        s.add(i)
return list(s)
"""